// src/store/cart.js
import { defineStore } from "pinia";
import { ref } from "vue"; 
import { setItem, getItem, removeItem } from '@/utils/storage' 

export const useResultStore = defineStore("result", () => {
  const resultData = ref(getItem('resultData') || '');

  const setResultData = (data) => {
    resultData.value = data
  }

  return {
    resultData,
    setResultData
  };
});
